<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'left.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="main/home/images/main.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<%=path%>/js/jquery.js"></script>
	<script type="text/javascript" src="<%=path%>/js/home/left.js"></script>
  </head>
  
  <body>
    <div id="left">
    	<s:hidden id="status" value="%{#session.user.status}"></s:hidden>
	    <div id="left_menu"></div>
		<div id="left_tree">
	        <div id="tree_icon">
			   <div id="yh" ><img style="cursor:pointer;" src="main/home/images/user.gif" />用户信息</div>
			   <div id="system" ><img  style="cursor:pointer;" src="main/home/images/system.gif" />系统管理</div>
			</div>
			<div id="menu_list" >
			<ol>
				<s:iterator value="#session.moduleList" status="index">
					<li class="tree_li"><h2><a style="color:blue;" href="javascript:void(0)" id="<s:property value="moduleId"/>"><s:property value="moduleName"/></a></h2></li>
				</s:iterator>
			</ol>
			</div>
			<div id="menu_sys" >
				<ol>
				 	<li class="tree_li"><h2><a style="color:blue" href="javascript:void(0)" id="user">用户管理</a></h2></li>		 	
				 	<li class="tree_li"><h2><a style="color:blue" href="javascript:void(0)" id="role">角色管理</a></h2></li>				 	
				 	<li class="tree_li"><h2><a style="color:blue" href="javascript:void(0)" id="function">功能管理</a></h2></li>				 	
				 	<li class="tree_li"><h2><a style="color:blue" href="javascript:void(0)" id="module">模块管理</a></h2></li>
				</ol>
			</div>
		</div>	
	</div>
	<div id="tree_down"></div>
  </body>
</html>
